gdk: Make GdkWindowImpl inherit from GObject
authorBenjamin Otte <otte@redhat.com>
Wed, 24 Nov 2010 14:11:34 +0000 (15:11 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 2 Dec 2010 19:21:04 +0000 (20:21 +0100)
gdk/gdkwindowimpl.c
gdk/gdkwindowimpl.h

index 681aef8cdc819af607ba210ee1f925f766272d16..57aed0755277745ce94fb1c9bf4cc11015f43d97 100644 (file)
@@ -31,7 +31,7 @@
 #include "gdkinternals.h"
 
 
-G_DEFINE_TYPE (GdkWindowImpl, gdk_window_impl, GDK_TYPE_DRAWABLE);
+G_DEFINE_TYPE (GdkWindowImpl, gdk_window_impl, G_TYPE_OBJECT);
 
 
 static void
index 17edbcaad4060573400c0645adae9d752939f032..6f246ffc88b1b9cb0f397a1a278647d0755e8404 100644 (file)
@@ -43,12 +43,12 @@ typedef struct _GdkWindowImplClass  GdkWindowImplClass;
 
 struct _GdkWindowImpl
 {
-  GdkDrawable  parent;
+  GObject parent;
 };
 
 struct _GdkWindowImplClass
 {
-  GdkDrawableClass parent_class;
+  GObjectClass parent_class;
 
   cairo_surface_t *
                (* ref_cairo_surface)    (GdkWindow       *window);